<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Dashboard Template for Bootstrap</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/type.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/index_side.css"/>
</head>
<body class="index_body">
	<!--*****************************************导航栏*****************************************************-->

	<!--***************************************section************************************************************-->
	<section class="container-fluid">

		<div class="row">
			<div class="col-md-12 col-xs-12">
				<aside class="col-xs-3 col-md-2 sidebar1" id="selector">
					<ul class="nav index-sidebar">
						<li>
							<a href="#is_best">推荐</a>
						</li>
						
							<foreach name="goodsss" item="v">
								<neq name="v" value="">
									<li>
										<a href="#{$v[0]['GoodcategoryId']}">{$v[0]['CategoryName']}</a>
									</li>
								</neq>
							</foreach>
						
					</ul>
				</aside>
				
				<div class="col-xs-9 col-xs-offset-3 col-md-10 col-md-offset-2">
					<!--商品内容展示-->
					<neq name="is_bests" value="">
					<p id="is_best"></p><br>
					<h3 class="page-header">推荐</h3>
						<div class="row">
						<foreach name="is_bests" item="g">
							<div class="col-xs-6 col-sm-3 images">
								<a href="__MODULE__/Index/goods/gid/{$g.GoodId}"><img src="__PUBLIC__/uploads/img/{$g['PictureUrl']}" class="img-responsive col-md-12"><br>
								<div>
									<span>{$g['GoodName']}</span><br>
									<span class="index_span2">{$g['KeyWords']}</span>
									<span class="index_span3">￥{$g['Price']}</span><br><br><br>
								</div></a>
							</div>
							</foreach>
						</div>
					</neq>

					<foreach name="goodsss" item="v">
						<p id="{$v[0]['GoodcategoryId']}"></p><br>
						<h3 class="page-header">{$v[0]['CategoryName']}</h3>
						<div class="row">
						<foreach name="v" item="g">
							<div class="col-xs-6 col-sm-3 images">
								<a href="__MODULE__/Index/goods/gid/{$g.GoodId}"><img src="__PUBLIC__/uploads/img/{$g.PictureUrl}" class="img-responsive col-md-12"><br>
									<div>
										<span>{$g['GoodName']}</span><br>
										<span class="index_span2">{$g['KeyWords']}</span>
										<span class="index_span3">￥{$g['Price']}</span><br><br><br>
									</div>
								</a>
							</div>
						</foreach>
					</div>
				</foreach>
				
				</div>
			</div>
		</section>

		<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
		<!--
        	作者：offline
        	时间：2017-11-05
        	描述：状态栏改变样式
        -->
		<script>
			$("#selector ul li").click(function() {
				$(".active").removeClass("active");
				$(this).children("a").addClass("active");
			});
		</script>

</body>
</html>